package ontoTree.ontoTree;

/**
 *
 * Read components of a mapping of an alignment
 * @author Fabiana Freire & Fernanda Lígia
 */
public class Mapping {
	String uri1;
	String uri2;
	String relation;
	Double simi;

	public String getUri1() {
		return uri1;
	}

	public void setUri1(String uri1) {
		this.uri1 = uri1;
	}

	public String getUri2() {
		return uri2;
	}

	public void setUri2(String uri2) {
		this.uri2 = uri2;
	}

	public String getRelation() {
		return relation;
	}

	public void setRelation(String relation) {
		this.relation = relation;
	}

	public Double getSimi() {
		return simi;
	}

	public String getSimiString() {
		String aux = null;
		return aux.valueOf(simi);

	}

	public void setSimi(Double simi) {
		this.simi = simi;
	}
        
        public void addCell(String uri1, String uri2, String relation, double simi){
            this.uri1 = uri1;
            this.uri2 = uri2;
            this.relation = relation;
            this.simi = simi;
        }

}
